//
//  UILabel+VIZLabel.m
//  Young-Old
//
//  Created by 位立志 on 16/4/26.
//  Copyright © 2016年 位立志. All rights reserved.
//

#import "UILabel+VIZLabel.h"

@implementation UILabel (VIZLabel)


- (instancetype)initWithText:(NSString *)text textColor:(UIColor *)textColor fontSize:(CGFloat)fontSize{
    
    if (self = [super init]) {
        self.text = text;
        self.textColor = textColor;
        self.font = [UIFont systemFontOfSize:fontSize];
    }
    
    self.textAlignment = NSTextAlignmentCenter;
    
    return self;
    
}

@end
